<?php 
$sql_admin = "select * from tb_admin where username= '".$_SESSION['admin_username']."' and password = '".$_SESSION['admin_password']."'";
$qr_admin = select($sql_admin);
if(count($qr_admin)<>1) {
	echo "กรุณาเข้าสู่ระบบ";
}
?>